package com.genius.reservation.car.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.genius.reservation.platform.entity.PlatformInformation;
import com.genius.reservation.receiveRecord.entity.ReceiveRecordInformation;
import com.genius.reservation.receiver.entity.ReceiverInformation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 车辆信息表
 * </p>
 *
 * @author baomidou
 * @since 2022-05-26
 */
@TableName("reservation_startcar_information")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "CarInformation对象", description = "车辆信息表")
public class ReservationStartCarInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer useTimeId;

    @ApiModelProperty("预约单号")
    private String reservationNumber;


    private String receiverManagerPhone;
    private String carCode;

    private String carLength;

    private String carType;

    private String reserveOrderNo;

    private String carImg;

    private String healthyImg;

    @ApiModelProperty("司机姓名")
    private String driverName;

    @ApiModelProperty("司机电话")
    private String driverPhone;

    @ApiModelProperty("发车时间")
    private String startCarTime;

    @ApiModelProperty("发车地")
    private String startAddress;

    @ApiModelProperty("是否从新分配")
    private Integer isReassign;

    @ApiModelProperty("确认收货员编号")
    private String confirmReceiverNumber;

    @ApiModelProperty("实际收货员编号")
    private String actualReceiverNumber;

    @ApiModelProperty("确认收货月台")
    private String confirmPlatformNumber;

    @ApiModelProperty("实际收货员编号")
    private String actualPlatformNumber;

    @ApiModelProperty("当前状态")
    private Integer nowStatus;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT)
    private String updateTime;

    private String driverWxNumber;

    @ApiModelProperty("超时状态")
    private Integer timeoutStatus;

    @ApiModelProperty("收货记录编号")
    private String receiveRecordNumber;

    @ApiModelProperty("实际到达时间")
    private String actualArrivalTime;

    @ApiModelProperty("售货员电话")
    private String receiverPhone;

    @ApiModelProperty("到达时间")
    private String confirmArriveTime;
    private  String supplierName;

    @TableField(exist = false)
    private ReceiverInformation conReceiver;

    @TableField(exist = false)
    private ReceiverInformation acReceiver;


    @TableField(exist = false)
    private PlatformInformation conPlatform;

    @TableField(exist = false)
    private PlatformInformation acPlatform;

    @TableField(exist = false)
    private ReceiveRecordInformation record;

    private Integer isEvaluate;

    private  String qrCode;


}
